<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>外带设备详情</title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css">
    <script src="/asset/layui/layui.js"></script>
    <link rel="Shortcut Icon" href="cachet.ico">
</head>
<body >
<div class="x-body">

<div class="layui-form-item">
		<div class="layui-inline">
		      <label class="layui-form-label">领取状态</label>
		      <div class="layui-input-inline layui-form-mid layui-word-aux">
		      		<@linkage type="TAKE_STATUS" key=devicesTake.takeStatus>
		        		<span class="${linkage.style}">${linkage.name}</span>
		        	</@linkage>
		      		
		      </div>
		    </div>
		</div>
    	
    	<#if devicesTake.takeStatus != "PENDING">
    	<div class="layui-form-item">
			<div class="layui-inline">
		      <label class="layui-form-label">领取设备</label>
		      <div class="layui-input-inline layui-form-mid layui-word-aux">
		      		${devices.alias}
		      </div>
		    </div>
		    <div class="layui-inline">
		      <label class="layui-form-label">设备编号</label>
		      <div class="layui-input-inline layui-form-mid layui-word-aux">
		     		 ${devices.devicesCode}
		      </div>
		    </div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
		      <label class="layui-form-label">领取时间</label>
		      <div class="layui-input-inline layui-form-mid layui-word-aux">
		      		${devicesTake.takeTime?string("yyyy-MM-dd HH:mm:ss")}
		      </div>
		    </div>
		    <#if devicesTake.takeStatus=="RETURND">
		    <div class="layui-inline">
		      <label class="layui-form-label">归还时间</label>
		      <div class="layui-input-inline layui-form-mid layui-word-aux">
		      	${devicesTake.returnTime?string("yyyy-MM-dd HH:mm:ss")}
		      </div>
		    </div>
		    </#if>
		</div>
		</#if>

</div>
</body>
</html>